﻿
namespace Numbrella.Tracker
{
    using System;
    using System.Configuration;
    using System.Globalization;

    internal static class Settings
    {
        private static readonly TimeSpan problemTimeout = TimeSpan.FromSeconds(Double.Parse(
            ConfigurationManager.AppSettings["ProblemTimeout"], 
            CultureInfo.InvariantCulture));

        public static TimeSpan ProblemTimeout
        {
            get { return problemTimeout; }
        }
    }
}